package itcz.example.pattern.create_action.factory.abstract_factory;

/**
 * @ClassName: MachamouseFactory
 * @Author: ITCZ
 * @Date: 2025-05-02
 * @Description: 美式工厂实现(生产咖啡喝甜片)
 */
public class AmericanFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }
}
